/** 系统自带路由 无业务相关性 **/

import Layout from '@/layout'

const sysRouter = [
{
    path: '/login',
    component: () => import('@/views/login/index'),
    hidden: true
  },
  {
    path: '/auth-redirect',
    component: () => import('@/views/login/auth-redirect'),
    hidden: true
  },
  {
    path: '/404',
    component: () => import('@/views/error-page/404'),
    hidden: true
  },
  {
    path: '/401',
    component: () => import('@/views/error-page/401'),
    component: Layout,
    name: '401',
    meta: { title: '401' },
    hidden: true
  },
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    children: [
      {
        path: 'dashboard',
        component: () => import('@/views/dashboard/index'),
        name: 'Dashboard',
        meta: { title: '主页', icon: 'dashboard', affix: true, }
      }
    ]
  }, {
    path: '/exportLog',
    component: Layout,
    hidden: true,
    children: [
      {
        path: '/exportLog',
        component: () => import('@/views/exportLog/index'),
        name: 'exportLog',
        meta: { title: '导出记录'}
      },
    ]
  }
]
export default sysRouter
